package com.lifeng.patterns.dproxy;

import java.util.Date;

/**
 * Created by lifeng on 2018/8/15.
 */
public class ProxyTest {
    public static void main(String[] args) {
        MyProxyFactory factory = new MyProxyFactory();
        UserMapper userService = factory.getInstance(UserMapper.class);
        System.out.println(userService.getUserName("1111",122,new Date()));
    }
}
